package com.wchat.network;

import java.io.File;

import com.wchat.network.device.Group;
import com.wchat.network.device.GroupParam;
import com.wchat.network.device.SendTarget;
import com.wchat.network.message.file.FileMessage;
import com.wchat.network.message.share.ShareDirectory;
import com.wchat.network.message.share.ShareItem;

public interface UserAction {
	
	void sendText(String text, SendTarget target);
	
	void sendFile(File file, SendTarget target);
	
	void rejectFile(FileMessage fileMessage);
	
	void sendImage(File imagefile, SendTarget target);
	
	Group createGroup(GroupParam param);
	
	void joinGroup(Group group);
	
	void leaveGroup(Group group);
	
	ShareDirectory getCurrentShareDirectory();
	
	void addShare(ShareItem item);
	
	void removeShare(ShareItem item);
	
}
